package cn.kgc.service.impl;

import cn.kgc.entity.Books;
import cn.kgc.mapper.BooksMapper;
import cn.kgc.service.BooksService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author 帅气逼人程序员
 * @version 1.0
 * @date 2023/3/2 - 18:53
 */
@Service
public class BooksServiceImpl implements BooksService {
    @Resource
    private BooksMapper booksMapper;

    @Override
    public List<Books> getAllBooks() {
        return booksMapper.getAllBooks();
    }
}
